package com.st.entity;

import lombok.*;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@RequiredArgsConstructor
public class PageResult<T> {
    //是否成功
    @NonNull
    private Boolean success;
    //提示信息
    @NonNull
    private String msg;
    //总记录数
    private Long total;
    //总页数
    private Long pages;
    //当前页数据
    private List<T> data;

}
